package com.itheima.area.service;



import com.github.pagehelper.Page;
import com.itheima.area.pojo.CustFarm;

import java.util.List;
import java.util.Map;

/**
 * @PackageName com.itheima.area.service
 * @ProjectName Ceres-Work
 * @Created by Chanly on 2020/10/11 20:27
 **/
public interface FarmService {
    List<CustFarm> findAll();

    CustFarm findById(Long id);

    void deleteById(Integer id);

    void update(CustFarm custFarm);

    void add(CustFarm custFarm);

    Page<CustFarm> findPage(Map searchMap, int page, int size);
}
